package com.daji.pojo;

import java.io.Serializable;

public class A implements Serializable {
    private int basicInt;   //基本类型
    private double basicDouble; //基本类型
    private B duixiangB;    //对象B类型

    public A(int basicInt, double basicDouble, B duixiangB) {
        this.basicInt = basicInt;
        this.basicDouble = basicDouble;
        this.duixiangB = duixiangB;
    }

    public A() {
    }

    public int getBasicInt() {
        return basicInt;
    }

    public void setBasicInt(int basicInt) {
        this.basicInt = basicInt;
    }

    public double getBasicDouble() {
        return basicDouble;
    }

    public void setBasicDouble(double basicDouble) {
        this.basicDouble = basicDouble;
    }

    public B getDuixiangB() {
        return duixiangB;
    }

    public void setDuixiangB(B duixiangB) {
        this.duixiangB = duixiangB;
    }

    @Override
    public String toString() {
        return "A{" +
                "basicInt=" + basicInt +
                ", basicDouble=" + basicDouble +
                ", duixiangB=" + duixiangB +
                '}';
    }
}
